package MOLE.sms2;

import MOLE.*;

/** 
 sms2 ��ժҪ˵����
*/
public class smsadmin
{
	public smsadmin()
	{
		//
		// TODO: �ڴ˴���ӹ��캯���߼�
		//
	}

	public static DataTable GetUserInfros(String uname)
	{
		String s = "select * from [userinfo] where username like '%" + uname + "%'";
	//DataSet dt=MOLE.SQL.GetDataSet(s);
		 DataTable dt = MOLE.SQL.GetDataTable(s);
		return dt;
	}
	public static DataTable GetUserInfros(int uid)
	{
		String s = "select * from [userinfo] where userid=" + String.valueOf(uid);
		 DataTable dt = MOLE.SQL.GetDataTable(s);
		return dt;
	}




}